/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package server;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Arnaud
 */

@XmlRootElement
public class Task  implements Serializable{
    
    private String Image = "";
    private String Session = "";
    private String Pid = "";  

    public Task() {
    }

  
    public Task(String image, String session, String pid) {
        Image = image; // commande
        Session = session; // UDI
        Pid = pid; // PID
    }
 
  @XmlElement
    public String getImage() {
	return Image;
    }
    @XmlElement
    public String getSession() {
	return Session;
    }

    public void setImage(String Image) {
        this.Image = Image;
    }

    public void setSession(String Session) {
        this.Session = Session;
    }

    public void setPid(String Pid) {
        this.Pid = Pid;
    }
    @XmlElement
    public String getPid() {
	return Pid;
    }
    
    
}
